package app.auto.designer;

import android.content.Intent;

/**
 * Created by Administrator on 2017/12/3.
 */
public class ReturnActivity extends ActivityBase {
    @Override
    protected void onActivityResult(int requestCode, int resultCode, Intent data) {
        super.onActivityResult(requestCode, resultCode, data);
        if (data == null) {

        } else {
            String status = data.getStringExtra("status");
            if (status != null && status.equals("ok")) {
                setResult(1,data);
                finish();
            }
        }
    }
}
